/*
 * @Author: yt 2399493770@qq.com
 * @Date: 2024-04-24 22:13:15
 * @LastEditors: yt 2399493770@qq.com
 * @LastEditTime: 2024-04-25 22:01:55
 * @Description: 
 */
import Axios from "axios";

const axios = Axios.create({
  timeout: 10000,
});

enum ApiEnum {
  car_illegal_query = "",
}

interface CarIllegal {
  
}



export async function getCarIllegalQuery(
  args: CarIllegal,
  signature: string,
  nonce: string
): Promise<any> {
  const headers = {
    
  };

  const data = { };

  return new Promise((resolve, reject) => {
    axios
      .post(ApiEnum.car_illegal_query, data, {
        headers,
      })
      .then(({ data }) => {
        if (data) {
          resolve(data);
        }
      })
      .catch(reject);
  });
}
